<?php
//include Header
include("header.php");
?>

<HTML>
<head>
<?php 
 $bn=$_POST["bestellingsnummer"];
 $productnummer=$_POST["productnummer"]; 
 echo "<meta http-equiv=\"refresh\" content=\"0; URL=bestelling.php?bn=$bn\">"; 
 mysql_query("	DELETE
				FROM bestellingen
				WHERE bestellingsnummer=$bn
				AND productnummer=$productnummer"); 
 Print "Your selected product has been successfully deleted from the database.";
 ?>
</head>
<BODY>
<?php

?>
</BODY>
</HTML>

<?php
//include footer
include("footer.php");
?>